//
// Created by Javery Chiang on 2025/5/4.
//
#include <iostream>
#include "Page.h"

using namespace std;

int main() {
    vector<int> pages = {7, 3, 2, 1, 2, 3, 0, 3, 0, 2, 3, 0, 0, 1};
    int cap = 3;

    FIFO_PRINT(pages,3);


    cout << "LRU 缺页次数：" << LRU(pages, cap) << endl;
}